package com.industrial.governance.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.industrial.common.core.annotation.Excel;
import com.industrial.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 数据质量管理对象 dg_quantity_quality_manage
 *
 * @author SangGuangCan
 * @date 2024-03-01
 */
public class DgQuantityQualityManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String baseId;

    /** 年份 */
    @Excel(name = "年份")
    private String years;

    /** 数据来源 */
    @Excel(name = "数据来源")
    private String source;

    /** 规则类型  */
    @Excel(name = "规则类型 ")
    private String ruleType;

    /** 规则名称 */
    @Excel(name = "规则名称")
    private String ruleName;

    /** 异常数量 */
    @Excel(name = "异常数量")
    private String failCount;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date baseCreateTime;

    /** 创建 人 */
    private String baseCreateBy;

    /** 更新时间 */
    private Date baseUpdateTime;

    /** 更新人 */
    private String baseUpdateBy;


    private String province;
    private String city;

    private String county;

    public void setBaseId(String baseId)
    {
        this.baseId = baseId;
    }

    public String getBaseId()
    {
        return baseId;
    }
    public void setYears(String years)
    {
        this.years = years;
    }

    public String getYears()
    {
        return years;
    }
    public void setSource(String source)
    {
        this.source = source;
    }

    public String getSource()
    {
        return source;
    }
    public void setRuleType(String ruleType)
    {
        this.ruleType = ruleType;
    }

    public String getRuleType()
    {
        return ruleType;
    }
    public void setRuleName(String ruleName)
    {
        this.ruleName = ruleName;
    }

    public String getRuleName()
    {
        return ruleName;
    }
    public void setFailCount(String failCount)
    {
        this.failCount = failCount;
    }

    public String getFailCount()
    {
        return failCount;
    }
    public void setBaseCreateTime(Date baseCreateTime)
    {
        this.baseCreateTime = baseCreateTime;
    }

    public Date getBaseCreateTime()
    {
        return baseCreateTime;
    }
    public void setBaseCreateBy(String baseCreateBy)
    {
        this.baseCreateBy = baseCreateBy;
    }

    public String getBaseCreateBy()
    {
        return baseCreateBy;
    }
    public void setBaseUpdateTime(Date baseUpdateTime)
    {
        this.baseUpdateTime = baseUpdateTime;
    }

    public Date getBaseUpdateTime()
    {
        return baseUpdateTime;
    }
    public void setBaseUpdateBy(String baseUpdateBy)
    {
        this.baseUpdateBy = baseUpdateBy;
    }

    public String getBaseUpdateBy()
    {
        return baseUpdateBy;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("baseId", getBaseId())
                .append("years", getYears())
                .append("source", getSource())
                .append("ruleType", getRuleType())
                .append("ruleName", getRuleName())
                .append("failCount", getFailCount())
                .append("baseCreateTime", getBaseCreateTime())
                .append("baseCreateBy", getBaseCreateBy())
                .append("baseUpdateTime", getBaseUpdateTime())
                .append("baseUpdateBy", getBaseUpdateBy())
                .toString();
    }
}
